<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>SafeHtml (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">html.SafeHtml</span>
        <span>Extends</span>
        <span class="fn-name">
          
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    A string that is safe to use in HTML context in DOM APIs and HTML documents.

A SafeHtml is a string-like object that carries the security type contract
that its value as a string will not cause untrusted script execution when
evaluated as HTML in a browser.

Values of this type are guaranteed to be safe to use in HTML contexts,
such as, assignment to the innerHTML DOM property, or interpolation into
a HTML template in HTML PC_DATA context, in the sense that the use will not
result in a Cross-Site-Scripting vulnerability.

Instances of this type must be created via the factory methods
(<code> goog.html.SafeHtml.from</code>, <code> goog.html.SafeHtml.htmlEscape</code>), etc
and not by invoking its constructor.  The constructor intentionally takes no
parameters and the type is immutable; hence only a default instance
corresponding to the empty string can be obtained via constructor invocation.


  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="goog.html.SafeHtml#from">Also See:</a></li>
            <li><a href="local_closure_goog_html_safehtml.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/html/safehtml.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td>goog.html.SafeHtml</td><td></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.html.SafeHtml(<span></span>)
  </div>



<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_html_SafeHtml.html">
              goog.html.SafeHtml
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.prototype.getDirection"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getDirection<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line98">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.prototype.getTypedStringValue"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getTypedStringValue<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Returns this SafeHtml's value a string.

IMPORTANT: In code where it is security relevant that an object's type is
indeed <code> SafeHtml</code>, use <code> goog.html.SafeHtml.unwrap</code> instead of
this method. If in doubt, assume that it's security relevant. In particular,
note that goog.html functions which return a goog.html type do not guarantee
that the returned instance is of the right type. For example:

<pre class="lang-js prettyprint">
var fakeSafeHtml = new String('fake');
fakeSafeHtml.__proto__ = goog.html.SafeHtml.prototype;
var newSafeHtml = goog.html.SafeHtml.from(fakeSafeHtml);
// newSafeHtml is just an alias for fakeSafeHtml, it's passed through by
// goog.html.SafeHtml.from() as fakeSafeHtml instanceof goog.html.SafeHtml.
</pre>
     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line130">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.prototype.toString"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">toString<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Returns a debug string-representation of this value.

To obtain the actual string value wrapped in a SafeHtml, use
<code> goog.html.SafeHtml.unwrap</code>.


     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line145">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_html_SafeHtml.html">
              goog.html.SafeHtml
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.prototype.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_</span>
        : 
     </div>


     <div class="entryOverview">
       A type marker used to implement additional run-time type checking.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line79">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.prototype.dir_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">dir_</span>
        : 
     </div>


     <div class="entryOverview">
       This SafeHtml's directionality, or null if unknown.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line86">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">implementsGoogI18nBidiDirectionalString</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line94">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.prototype.implementsGoogStringTypedString"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">implementsGoogStringTypedString</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line107">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.prototype.privateDoNotAccessOrElseSafeHtmlWrappedValue_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">privateDoNotAccessOrElseSafeHtmlWrappedValue_</span>
        : 
     </div>


     <div class="entryOverview">
       The contained value of this SafeHtml.  The field has a purposely ugly
name to make (non-compiled) code that attempts to directly access this
field stand out.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line71">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.concat"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">concat<span class="args">(<span class="arg">var_args</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>
      </div>


     <div class="entryOverview">
       Creates a new SafeHtml object by concatenating the values.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">var_args</span>
        : <span class="type">...!goog.html.SafeHtml.TextOrHtml_</span><span>&nbsp;|&nbsp;</span><span class="type">
       !Array</span>.&lt;<span>!</span><span class="type">goog.html.SafeHtml.TextOrHtml_</span>&gt;
        <div class="entryOverview">Elements of array
    arguments would be processed recursively.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>&nbsp;
            <span class='nodesc'>No description.</span>
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line396">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.create"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">create<span class="args">(<span class="arg">tagName</span>,&nbsp;<span class="arg">opt_attributes</span>,&nbsp;<span class="arg">opt_content</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>
      </div>


     <div class="entryOverview">
       Creates a SafeHtml content consisting of a tag with optional attributes and
optional content.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">tagName</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The name of the tag. Only tag names consisting of
    [a-zA-Z0-9-] are allowed. <link/>, <script> and &lt;style&gt; tags are not
    supported.
</script></div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_attributes</span>
        : <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>,<span class="type"> goog.html.SafeHtml.AttributeValue_></span>&gt;
        <div class="entryOverview">Mapping from attribute names to their values. Only
    attribute names consisting of [a-zA-Z0-9-] are allowed. Attributes with
    a special meaning (e.g. on*) require goog.string.Const value, attributes
    containing URL require goog.string.Const or goog.html.SafeUrl. Value of
    null or undefined causes the attribute to be omitted. Values are
    HTML-escaped before usage.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_content</span>
        : <span>!</span><span class="type">goog.html.SafeHtml.TextOrHtml_</span><span>&nbsp;|&nbsp;</span><span class="type">
       !Array</span>.&lt;<span>!</span><span class="type">goog.html.SafeHtml.TextOrHtml_></span>&gt;
        <div class="entryOverview">Content to put
    inside the tag. This must be empty for void tags like <br/>. Array
    elements are concatenated.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>&nbsp;
            The SafeHtml content with the tag.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line312">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">createSafeHtmlSecurityPrivateDoNotAccessOrElse_<span class="args">(<span class="arg">html</span>,&nbsp;<span class="arg">dir</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>
      </div>


     <div class="entryOverview">
       Utility method to create SafeHtml instances.

This function is considered "package private", i.e. calls (using "suppress
visibility") from other files within this package are considered acceptable.
DO NOT call this function from outside the goog.html package; use appropriate
wrappers instead.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">html</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The string to initialize the SafeHtml object with.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">dir</span>
        : <span>?</span><span class="type">goog.i18n.bidi.Dir</span>
        <div class="entryOverview">The directionality of the SafeHtml to be
    constructed, or null if unknown.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>&nbsp;
            The initialized SafeHtml object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line448">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.from"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">from<span class="args">(<span class="arg">textOrHtml</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>
      </div>


     <div class="entryOverview">
       Coerces an arbitrary object into a SafeHtml object.

If <code> textOrHtml</code> is already of type <code> goog.html.SafeHtml</code>, the same
object is returned. Otherwise, <code> textOrHtml</code> is coerced to string, and
HTML-escaped. If <code> textOrHtml</code> is of a type that implements
<code> goog.i18n.bidi.DirectionalString</code>, its directionality, if known, is
preserved.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">textOrHtml</span>
        : <span>!</span><span class="type">goog.html.SafeHtml.TextOrHtml_</span>
        <div class="entryOverview">The text or SafeHtml to
    coerce.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>&nbsp;
            The resulting SafeHtml object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line242">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.htmlEscape"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">htmlEscape<span class="args">(<span class="arg">text</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>
      </div>


     <div class="entryOverview">
       Returns HTML-escaped text as a SafeHtml object.

If text is of a type that implements
<code> goog.i18n.bidi.DirectionalString</code>, the directionality of the new
<code> SafeHtml</code> object is set to <code> text</code>'s directionality, if known.
Otherwise, the directionality of the resulting SafeHtml is unknown (i.e.,
<code> null</code>).


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : <span>!</span><span class="type">goog.html.SafeHtml.StringLike_</span>
        <div class="entryOverview">The string to escape.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>&nbsp;
            The escaped string, wrapped as a SafeHtml.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line213">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.html.SafeHtml.unwrap"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">unwrap<span class="args">(<span class="arg">safeHtml</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Performs a runtime check that the provided object is indeed a SafeHtml
object, and returns its value.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">safeHtml</span>
        : <span>!</span><span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>
        <div class="entryOverview">The object to extract from.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The SafeHtml object's contained string, unless the run-time
    type check fails. In that case, <code> unwrap</code> returns an innocuous
    string, or, if assertions are enabled, throws
    <code> goog.asserts.AssertionError</code>.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line161">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.AttributeValue_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">AttributeValue_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line287">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.EMPTY"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">EMPTY</span>
        : <span class="type"><a href="class_goog_html_SafeHtml.html">goog.html.SafeHtml</a></span>
     </div>


     <div class="entryOverview">
       A SafeHtml instance corresponding to the empty string.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line461">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">NOT_ALLOWED_TAG_NAMES_</span>
        : 
     </div>


     <div class="entryOverview">
       Set of tag names that are too dangerous.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line279">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.StringLike_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">StringLike_</span>
        : 
     </div>


     <div class="entryOverview">
       Shorthand for union of types that can be sensibly converted to strings.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line190">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_</span>
        : 
     </div>


     <div class="entryOverview">
       Type marker for the SafeHtml type, used to implement additional run-time
type checking.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line431">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.TextOrHtml_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">TextOrHtml_</span>
        : 
     </div>


     <div class="entryOverview">
       Shorthand for union of types that can be sensibly converted to SafeHtml.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line198">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.URL_ATTRIBUTES_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">URL_ATTRIBUTES_</span>
        : 
     </div>


     <div class="entryOverview">
       Set of attributes containing URL as defined at
<a href="http://www.w3.org/TR/html5/index.html#attributes-1">http://www.w3.org/TR/html5/index.html#attributes-1</a>.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line269">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.html.SafeHtml.VALID_NAMES_IN_TAG_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.html.SafeHtml.</span><span class="entryName">VALID_NAMES_IN_TAG_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_html_safehtml.js.source.html#line260">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package html</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="html.SafeHtml"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
